package com.sindvision.cces.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: chenjintao
 * @Date: 2019-11-22 16:11
 */
@TableName("cces_base_user")
@Data
@ToString
public class User implements Serializable {
    public static String SESSION_ATTR_NAME = "cces-session";
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer tenantId;

    private String username;

    private String password;

    private String salt;

    private String email;

    private String mobile;

    private Integer status;

    private Integer delTag;

    private Date createTime;

    private String createBy;
}
